CREATE TABLE [dbo].[tb_ServiciosPublicos]
(
[IdServicioPublico] [int] NOT NULL IDENTITY(1, 1),
[Descripcion] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Edificio] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ServiciosPublicos] ADD CONSTRAINT [PK_tb_ServiciosPublicos] PRIMARY KEY NONCLUSTERED  ([IdServicioPublico]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ServiciosPublicos] WITH NOCHECK ADD CONSTRAINT [FK_tb_ServiciosPublicos_tb_Edificios] FOREIGN KEY ([Edificio]) REFERENCES [dbo].[tb_Edificios] ([idEdificio])
GO
